<template>
  <a-menu-item key="9" @click="showModal">查看公告</a-menu-item>
  <a-menu-item key="10" @click="addModal">报告路况</a-menu-item>
</template>

<script setup>
import mitt from '@/mitt'
const showModal = () => {
  mitt.emit('showModal', '1')
}
const addModal = () => {
  mitt.emit('addModal')
}
</script>

<style></style>
